# 先找到其所在路径
set(DIR_SAMPLE_COMMON "/home/hisi2025_3/demo/sdk/smp/a55_linux/mpp/sample/common")
# 先把这个目录设置成为包含目录
include_directories(${DIR_SAMPLE_COMMON})
include_directories(/home/hisi2025_3/libcamera/include/libcamera)
include_directories(/home/hisi2025_3/demo/sdk/smp/a55_linux/mpp/sample/common)
# 然后把里面的.o文件都枚举出来
file(GLOB_RECURSE OBJ_FILES_FROM_SAMPLE_COMMON "${DIR_SAMPLE_COMMON}/*.o")
# 把这些文件都做为链接需要的目标文件
link_libraries(
        "-Wl,--start-group"
        ${OBJ_FILES_FROM_SAMPLE_COMMON}
        "-Wl,--end-group"
)
#message(${OBJ_FILES_FROM_SAMPLE_COMMON})
